package com.woniuxy.carrental.service;

import com.woniuxy.carrental.entity.PageBean;
import com.woniuxy.carrental.entity.ResponseResult;
import com.woniuxy.carrental.entity.Wareing;
import org.apache.ibatis.annotations.Param;

/**
 * @author author
 * @create 2021-10-12 10:44
 * 肖某的入库记录
 */
public interface WareingService {

    //分页查询表中数据
    ResponseResult<PageBean<Wareing>> selectDetailsByPageService(@Param("wareing")Wareing wareing,
                                                                 @Param("pageIndex") int pageIndex, @Param("pageSize") int pageSize);

    //根据id删除表中所有数据
    void deleteWareingService(String wareingid);
}
